/*
 * Created on 25/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.CargaLog;
import com.stefanini.pe.bbva.mbl.in.bo.iface.CargaLogBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.CargaLogDAO;


/**
 * @author LTORRES
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class CargaLogBOImpl implements CargaLogBO {
	CargaLogDAO cargaLogDAO;
	/**
	 * @param cargaLogDAO
	 */
	public CargaLogBOImpl(CargaLogDAO cargaLogDAO) {
		super();
		this.cargaLogDAO = cargaLogDAO;
	}
	/**
	 * @return Returns the cargaLogDAO.
	 */
	public CargaLogDAO getCargaLogDAO() {
		return cargaLogDAO;
	}
	/**
	 * @param cargaLogDAO The cargaLogDAO to set.
	 */
	public void setCargaLogDAO(CargaLogDAO cargaLogDAO) {
		this.cargaLogDAO = cargaLogDAO;
	}
	/**
	 * @param codCargalog
	 * @return
	 */
	public int deleteByPrimaryKey(Long codCargalog) {
		return cargaLogDAO.deleteByPrimaryKey(codCargalog);
	}
	/**
	 * @param record
	 */
	public void insert(CargaLog record) {
		cargaLogDAO.insert(record);
	}
	/**
	 * @param record
	 */
	public void insertSelective(CargaLog record) {
		cargaLogDAO.insertSelective(record);
	}
	/**
	 * @param codCargalog
	 * @return
	 */
	public CargaLog selectByPrimaryKey(Long codCargalog) {
		return cargaLogDAO.selectByPrimaryKey(codCargalog);
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return cargaLogDAO.toString();
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKey(CargaLog record) {
		return cargaLogDAO.updateByPrimaryKey(record);
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKeySelective(CargaLog record) {
		return cargaLogDAO.updateByPrimaryKeySelective(record);
	}
	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.iface.CargaLogBO#selectByCriteria(com.stefanini.pe.bbva.mbl.carga.in.to.CargaLogDetalleKey)
	 */
	public List selectByCriteria(CargaLog record) {
		// TODO Auto-generated method stub
		return cargaLogDAO.selectByCriteria(record);
	}
	
	
}
